package org.hgvc.webapp.ets.spring.service;

import java.util.List;

import org.hgvc.webapp.ets.bo.Package;
import org.hgvc.webapp.ets.bo.PackagePeakRates;
import org.hgvc.webapp.ets.bo.PackageProducts;
import org.jocsb.base.exception.BaseException;


public interface AdminPackageService {
	public List<Package> getPackageList()throws BaseException;
	public List<Package> getPackageList(String searchField,String searchKeyword)throws BaseException;
	public List<PackageProducts> getPackageProductsList(Package packageP)throws BaseException;
	public List<PackagePeakRates> getPackagePeakRatesList(Package packageP,String peakType)throws BaseException;
	public Package savePackage(Package packageP)throws BaseException;
	public void updatePackage(Package packageP)throws BaseException;
	public void savePackageProducts(PackageProducts packageProducts)throws BaseException;
	public void updatePackageProducts(PackageProducts packageProducts)throws BaseException;
	public void savePackagePeakRates(PackagePeakRates packagePeakRates)throws BaseException;
	public void updatePackagePeakRates(PackagePeakRates packagePeakRates)throws BaseException;
	public void deletePackage(List<Package> deleteList)throws BaseException;
	public void deletePackageProducts(List<PackageProducts> deleteList)throws BaseException;
	public void deletePackagePeakRates(List<PackagePeakRates> deleteList)throws BaseException;
	
	public String getNormalPeakType();
	public String getSuperPeakType();
}
